package com.qr.bean.wmyw;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.Version;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
 * @author: zc
 * email: zc8023zs@163.com
 * create_time: 2020/8/13 10:21:12
 */
@ApiModel(value = "qr_base_specification", description = "商品库规格")
@TableName(value = "qr_base_specification")
public class QrBaseSpecification implements Serializable {
	@ApiModelProperty(value = "标识id")
	@TableId(type = IdType.AUTO,value = "base_spec_id")
	@NotNull(message = "标识id不能为空")
	private Integer base_spec_id;
	@ApiModelProperty(value = "运营中心id")
	@TableField(value="oc_id")
	private Integer oc_id;
	@ApiModelProperty(value = "店铺/门店id")
	@TableField(value="shop_id")
	private Integer shop_id;
	@ApiModelProperty(value = "商品库分组")
	@TableField(value="base_goods_group_id")
	private Integer base_goods_group_id;
	@ApiModelProperty(value = "规格名称")
	@TableField(value="name")
	private String name;
	@ApiModelProperty(value = "价格")
	@TableField(value="price")
	private BigDecimal price;
	@ApiModelProperty(value = "原价")
	@TableField(value="original_price")
	private BigDecimal original_price;
	@ApiModelProperty(value = "包装费")
	@TableField(value="package_price")
	private BigDecimal package_price;
	@ApiModelProperty(value = "实时库存")
	@TableField(value="inventory")
	private Integer inventory;
	@ApiModelProperty(value = "最大库存")
	@TableField(value="maximum_inventory")
	private Integer maximum_inventory;
	@ApiModelProperty(value = "次日置满")
	@TableField(value="fill_morrow")
	private Integer fill_morrow;
	@ApiModelProperty(value = "重量(g)")
	@TableField(value="weight")
	private Integer weight;
	@ApiModelProperty(value = "排序")
	@TableField(value="sort_order")
	private Long sort_order;
	@ApiModelProperty(value = "数据版本字段")
	@TableField(value="version_id")
	@Version
	private Integer version_id;

 
	public Integer getBase_spec_id() {
		return base_spec_id;
	}
	public void setBase_spec_id(Integer base_spec_id) {
		this.base_spec_id = base_spec_id;
	}
 
	public Integer getOc_id() {
		return oc_id;
	}
	public void setOc_id(Integer oc_id) {
		this.oc_id = oc_id;
	}
 
	public Integer getShop_id() {
		return shop_id;
	}
	public void setShop_id(Integer shop_id) {
		this.shop_id = shop_id;
	}
 
	public Integer getBase_goods_group_id() {
		return base_goods_group_id;
	}
	public void setBase_goods_group_id(Integer base_goods_group_id) {
		this.base_goods_group_id = base_goods_group_id;
	}
 
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
 
	public BigDecimal getPrice() {
		return price;
	}
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
 
	public BigDecimal getOriginal_price() {
		return original_price;
	}
	public void setOriginal_price(BigDecimal original_price) {
		this.original_price = original_price;
	}
 
	public BigDecimal getPackage_price() {
		return package_price;
	}
	public void setPackage_price(BigDecimal package_price) {
		this.package_price = package_price;
	}
 
	public Integer getInventory() {
		return inventory;
	}
	public void setInventory(Integer inventory) {
		this.inventory = inventory;
	}
 
	public Integer getMaximum_inventory() {
		return maximum_inventory;
	}
	public void setMaximum_inventory(Integer maximum_inventory) {
		this.maximum_inventory = maximum_inventory;
	}
 
	public Integer getFill_morrow() {
		return fill_morrow;
	}
	public void setFill_morrow(Integer fill_morrow) {
		this.fill_morrow = fill_morrow;
	}
 
	public Integer getWeight() {
		return weight;
	}
	public void setWeight(Integer weight) {
		this.weight = weight;
	}
 
	public Long getSort_order() {
		return sort_order;
	}
	public void setSort_order(Long sort_order) {
		this.sort_order = sort_order;
	}
 
	public Integer getVersion_id() {
		return version_id;
	}
	public void setVersion_id(Integer version_id) {
		this.version_id = version_id;
	}

}